package com.cow.support.entity;

/**
 * Roleresource entity. @author MyEclipse Persistence Tools
 */

public class Roleresource implements java.io.Serializable {

	// Fields

	private Long mapid;
	private Long roleid;
	private Long resourceid;
	private String privilegetype;

	// Constructors

	/** default constructor */
	public Roleresource() {
	}

	/** full constructor */
	public Roleresource(Long mapid, Long roleid, Long resourceid,
			String privilegetype) {
		this.mapid = mapid;
		this.roleid = roleid;
		this.resourceid = resourceid;
		this.privilegetype = privilegetype;
	}

	// Property accessors

	public Long getMapid() {
		return this.mapid;
	}

	public void setMapid(Long mapid) {
		this.mapid = mapid;
	}

	public Long getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Long roleid) {
		this.roleid = roleid;
	}

	public Long getResourceid() {
		return this.resourceid;
	}

	public void setResourceid(Long resourceid) {
		this.resourceid = resourceid;
	}

	public String getPrivilegetype() {
		return this.privilegetype;
	}

	public void setPrivilegetype(String privilegetype) {
		this.privilegetype = privilegetype;
	}

}